<ion-view view-title="订单" class="payment">
	<ion-content overflow-scroll="true">

		<div class="pay">
			<img src="img/face.png" alt="" />
			<!--<!--支付-->
			<div ng-show="DoctorParma.status=='NEW'">
				<span>支付倒计时</span>
				<p id="countDown"></p>
				<div class="btndiv">
					<button ng-click="CancelFn()">取消</button>
					<button class="blue" ui-sref="payment_methodRoute">支付</button>
				</div>
			</div>
			<!--订单已取消    '用户主动取消' -->
			<div ng-show="DoctorParma.status=='CANCEL'">
				<h6>订单已取消</h6>
				<p class="quxiao">用户主动取消</p>
				<div class="btndiv">
					<button class="blue" ng-click="$ionicGoBack()">重新预约</button>
				</div>
			</div>
			<!--用户支付超时-->
			<div ng-show="DoctorParma.status=='TIMEOUT'">
				<h6>订单已取消</h6>
				<p class="quxiao">用户支付超时</p>
				<div class="btndiv">
					<button class="blue" ng-click="$ionicGoBack()">重新预约</button>
				</div>
			</div>
			<!--订单已支付-->
			<div ng-show="DoctorParma.status=='PAYED'">
				<h6>订单已支付</h6>
				<p class="quxiao">挂号当天不得取消订单</p>
				<div class="btndiv">
					<button ng-click="CancelPayFn()">取消订单</button>
				</div>
			</div>
			<!--订单已完成-->
			<div ng-show="DoctorParma.status=='FINISH'">
				<h6>订单已完成</h6>
				<p class="tip">感谢支持，祝您早日康复！</p>
				<div class="btndiv">
					<button class="blue">复诊再约</button>
					<button class="orange">查看处方</button>
				</div>
			</div>
		</div>

		<div class="placeOrder">
			<div class="content_wrap" style="padding-bottom: 0;">
				<section class="hospital">
					<div class="hospital_name cl">
						<img src="img/hostipal_photo.png" alt="" class="fl" />
						<div>{{Hospital.hspName}}<img class="arrow" src="img/go.png" alt="" /></div>
					</div>
					<div class="address">
						<ul>
							<li>
								就诊地址
								<span>{{Hospital.hspaddr}}</span>
							</li>
							<li>
								就诊时间
								<span>{{DoctorParma.regDate}}  {{DoctorParma.regTime}}</span>
							</li>
							<li>
								排队号
								<span>未知</span>
							</li>
							<li>
								挂号费
								<span class="money">¥{{(DoctorParma.regFee)/100}}</span>
							</li>

						</ul>
					</div>
				</section>
				<section class="user cl" style="margin-top: -10px;border-top:1px solid rgba(0,0,0,.1)">

					<img ng-src="{{DoctorParma.urlPic===''?'img/face2.png':DoctorParma.urlPic}}" alt="" class="fl" />
					<div class="float_r fr">
						<img src="img/go.png" class="arrow" alt="" />
					</div>
					<div class="float_center">
						<div class="user_name">{{DoctorParma.doctorName}}</div>
						<p>{{DoctorParma.doctorTitle}} {{DoctorParma.deptName}}</p>
					</div>

				</section>
				<section class="user cl" style="border-bottom: 1px solid rgba(0,0,0,.1);margin-bottom: 0;">

					<img ng-src="{{UserInfo.PicUrl===''?'img/face.png':UserInfo.PicUrl}}" alt="" class="fl" />

					<div class="float_center">
						<div class="user_name">{{UserInfo.patName}}</div>
						<p>本人 {{UserInfo.Tel}}</p>
					</div>

				</section>
				<section class="hospital">
					<div class="address">
						<ul>
							<li ui-sref="remarks({type:1})">
								病情备注
								<span>过敏病史、病症描述<img class="arrow" src="img/go.png" alt="" /></span>
							</li>
						</ul>
					</div>
				</section>
			</div>
		</div>
		<section class="similar_doctor" style="margin-top: -.2rem;">
			<div class="section_title">类·似·医·生</div>
			<ul class="cl">
				<li ng-repeat="i in payment_doctor">
					<div class="every_doctor cl">
						<img ng-src="{{i.doctor_src}}" alt="" class="fl" />
						<div class="doctor_name">
							{{i.doctor_name}}
							<p>{{i.doctor_position}}&nbsp;&nbsp;&nbsp;{{i.doctor_section}}</p>
						</div>
					</div>
				</li>

			</ul>
			<div class="more_doctor">—— 更多医生推荐 ——</div>
		</section>
	</ion-content>

</ion-view>